<div class="modelportfolios form">
<?php
    if($this->Session->read('login')=='yes')
    {
        echo $this->Form->create('Modelportfolio'); ?>
	    <fieldset>
		    <legend><?php echo __('Edit Model Portfolio'); ?></legend>
	    <?php
            //echo $this->Form->input('PortfoliosID', array('label' => 'Portfolio ID', 'disabled' => 'true'));
            //echo $this->Form->input('FundsID', array('label' => 'Fund ID', 'disabled' => 'true'));
            //echo $this->Form->input('IndicesID', array('label' => 'Index ID', 'disabled' => 'true'));
            echo $this->Form->input('PortfolioName', array('label' => 'Portfolio Name','type' => 'select', 'options' => $portfolios, 'disabled' => 'true'));
            echo $this->Form->input('FundsList', array('label' => 'List of Funds', 'disabled' => 'true'));
            echo $this->Form->input('IndexList', array('label' => 'List of Indices', 'disabled' => 'true'));
            echo $this->Form->input('Date', array('label' => 'Date of Input', 'disabled' => 'true'));
            echo $this->Form->input('OneMonthReturn', array('label' => '1 Month Return Value', 'type' => 'text', 'disabled' => 'true'));
            echo $this->Form->input('ThreeMonthReturn', array('label' => '3 Month Return Value', 'type' => 'text', 'disabled' => 'true'));
            echo $this->Form->input('SixMonthReturn', array('label' => '6 Month Return Value', 'type' => 'text', 'disabled' => 'true'));
            echo $this->Form->input('OneYearReturn', array('label' => '1 Year Return Value', 'type' => 'text', 'disabled' => 'true'));
            echo $this->Form->input('TwoYearReturn', array('label' => '2 Year Return Value', 'type' => 'text', 'disabled' => 'true'));
            echo $this->Form->input('ThreeYearReturn', array('label' => '3 Year Return Value', 'type' => 'text', 'disabled' => 'true'));
            echo $this->Form->input('FourYearReturn', array('label' => '4 Year Return Value', 'type' => 'text', 'disabled' => 'true'));
            echo $this->Form->input('FiveYearReturn', array('label' => '5 Year Return Value', 'type' => 'text', 'disabled' => 'true'));
            echo $this->Form->input('SinceInceptionReturn', array('label' => 'Since Inception Return Value', 'type' => 'text', 'disabled' => 'true'));         
	    ?>
	    </fieldset>
        <?php echo $this->Form->end(__('Submit')); ?>
        </div>
        <div class="actions">
	        <h3><?php echo __('Actions'); ?></h3>
	        <ul>
                <li><?php echo $this->Html->link(__('Back to Portfolio List'), array('action' => 'index')); ?></li>
	        </ul>
        </div>
<?php
}else
{
    ?>
    <p>You can't view the content in this page</p>
<?php
}
?>